.scroll-goods {
  width: 100%;
  white-space: nowrap;
  .scroll-item {
    display: inline-block;
    position: relative;
    margin-left: 10px;
    &:first-child {
      margin-left: 20px;
    }
    &:last-child {
      margin-right: 20px;
    }
    .subscript {
      position: absolute;
      left: 0;
      top: 0;
      width: 80px;
      height: 80px;
      z-index: 90;
      .subscript-img {
        width: 100%;
        height: 100%;
      }
      .subscript-text {
        position: absolute;
        top: 8px;
        transform: rotate(-45deg);
        color: #fff;
        font-size: 24px;
      }
    }
    .thumbnail {
      position: relative;
      width: 190px;
      border-radius: 12px;
      border: 1px solid #f5f5f5;
      &::after {
        display: flex;
        padding-top: 100%;
        content: '';
      }
      .goods-img {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
      }
    }
  }
}
